FROM harbor.tjn.com/common/nginx:latest
MAINTAINER taojunnan

ARG BUILD_ENV=""

RUN rm -f /etc/nginx/conf.d/*
ADD default.conf /etc/nginx/conf.d/

ADD dist /usr/share/nginx/html

# important !!!
# RUN chown -R nginx:nginx /var/www/
EXPOSE 80